//封装所有和用户相关的接口函数
import request from '@/utils/http'

export const loginAPI = ({account, password, agree}) => {
    return request({
        url: '/login',
        method: 'post',
        data: {
          account,
          password,
          agree
        }
    })
}


export const getLikeListAPI = ({ limit = 4 }) => {
  return request({
    url:'/goods/relevant',
    params: {
      limit
    }
  })
}
